package com.freemalll.merchant.feign.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.List;

/**
 * @author: wubo
 * @Date: 2023/6/7
 * @Time: 15:15
 */
@Data
public class OrganizationAccountVo {

    @Schema(description = "组织ID")
    private String id;

    @Schema(description = "组织名称")
    private String orgName;

    @Schema(description = "组织唯一编码")
    private String orgOnlyCode;

    @Schema(description = "父级ID")
    private String parentId;

    @Schema(description = "组织状态")
    private String orgStatus;

    @Schema(description = "当前组织下的账号")
    private List<AccountItemVo> accountItemVos;


    @Schema(description = "子集")
    private List<OrganizationAccountVo> child;

    @Data
    public static class AccountItemVo{

        private String accountId;

        private String accountName;

        private String accountStatus;

    }



}
